// 导入请求模块
import request from "@/utils/request.js"

// 分页查询
export const brandVOService = () => request.get('/product/brand_vo')

// 查询回显
export const queryBrandById = (id) => request.get('/product/brand/' + id)

// 更新数据
export const updateBrand = (editForm) => request.put('/product/brand',  editForm)

// 添加数据
export const addBrand = (addForm) => request.post('/product/brand', addForm)

// 删除数据
export const deleteBrand = (id) => request.put('/product/brand/logic/' + id)


// 获取品牌分页列表
export const getBrandPageService = (pageQuery) => {
    return request.get('/product/brand/page', { params: pageQuery })
}